package top.tenebrous.yzl.im.handler;

import org.springframework.web.socket.WebSocketSession;
import top.tenebrous.yzl.im.message.Message;


public interface MessageHandler<T extends Message> {
 
    void execute(WebSocketSession webSocketSession, T message);
 
    String getType();

}